#!/bin/bash

count=0

increment() {
  count=$((count + 1))
}

echo "Before: count = $count"
increment
echo "After: count = $count"
